
import utils.StringUtils;

import java.io.*;
import java.nio.charset.Charset;

public class Test {

    public static void main(String [] args) throws IOException {
        String file = "C:\\Users\\feixingK\\Documents\\WeChat Files\\fsh386809560\\Files\\1001130000000001012018121301";
        FileInputStream fileInputStream = null;
        InputStreamReader inputStreamReader = null;
        BufferedReader bufferedReader = null;
        fileInputStream = new FileInputStream(file);
        inputStreamReader = new InputStreamReader(fileInputStream, "gbk");
        bufferedReader = new BufferedReader(inputStreamReader);
        String words = null;
        while ((words = bufferedReader.readLine()) != null) {
            byte [] bytes = words.getBytes(Charset.forName("utf-8"));
            System.out.println(new String(bytes));
        }
    }
}
